package com.ruicar.afs.cloud.afscase.processor.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.Builder;
import lombok.experimental.Accessors;
import lombok.Data;

/**
 * @author: yk.Li
 * @date 2020-08-14 05:03:35 
 * @description 工作流异常关联业务信息表 实体类
 */
@Data
@Accessors(chain = true)
@TableName(value ="work_exception_info", autoResultMap = true)
public class WorkExceptionInfo extends BaseEntity<WorkExceptionInfo> {

	@ApiModelProperty("业务表主键")
	private Long businessId;

	@ApiModelProperty("异常中止的流程id（schedule）")
	private Long flowParseId;

	@ApiModelProperty("工作流返回异常ID")
	private String flowParseExceptionId;

	@ApiModelProperty("异常中止类型 assign - 任务分配， data - 数据获取, default - 默认的，未知的")
	private String flowParseType;

	@ApiModelProperty("处理结果 yes/no")
	private String flowResultFlag;

}
